package com.siti.kindnessplatform.base.biz;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.transaction.interceptor.TransactionAspectSupport;

import com.siti.kindnessplatform.base.mapper.InfoApplyMapper;
import com.siti.kindnessplatform.base.po.InfoApply;

@Service
@Transactional
public class InfoApplyBiz {

	@Resource
    private InfoApplyMapper infoApplyMapper;
	
	public int save(InfoApply infoApply) {
		try{
			infoApplyMapper.insert(infoApply);
			return 1;
        }catch (Exception e){
            e.printStackTrace();
            return -1;
        }
	}
}
